public class Test {
    public static void main(String[] args) {
//        int[] array= {4,2,3,1,5,6,7};
          Heap ret = new Heap();
//        ret.init(array);
//        ret.GreatHeap();
//        ret.printf();
        int[] count = {5,6,7,8,4,3,2,1};
        ret.smallestk(count,3);
        ret.printf();
    }
}
